/*
 * @Description: 判断类型
 * @Author: huacong
 * @Date: 2020-10-30 15:34:37
 * @LastEditTime: 2020-10-30 15:40:36
 * @LastEditors: huacong
 */
// const toString = Object.prototype.toString

export function isIE () {
  const bw = window.navigator.userAgent
  const compare = s => bw.indexOf(s) >= 0
  const ie11 = (() => 'ActiveXObject' in window)()
  return compare('MSIE') || ie11
}
